import request from '@/axios/request';
import url from '@/axios/url';
const { mesUrl, adminUrl } = url();
// 导出url
export const exportUrl = `${mesUrl}mesKtStockInfo/export`
export const exportLUrl = `${mesUrl}mesKtStockInfo/exportL`
// 分页查询
export function mesKtStockInfoPage(params = {}) {
  return request({
    url: `${mesUrl}mesKtStockInfo/page`,
    method: 'get',
    params,
  });
}
export function mesKtStockInfoDetailPage(params = {}) {
  return request({
    url: `${mesUrl}mesKtStockInfo/pageDetail`,
    method: 'get',
    params,
  });
}
export function mesKtStockInfoPageL(params = {}) {
  return request({
    url: `${mesUrl}mesKtStockInfo/pageL`,
    method: 'get',
    params,
  });
}
export function mesJCDemandLog(params = {}) {
  return request({
    url: `${mesUrl}mesTmMaterialDemand/logPage`,
    method: 'get',
    params:
      {
        ...params,
        orderTypeList:"0,1",
      },
  });
}


